package com.bbzn.device.client.vo.req;

import com.bbzn.device.client.dataobject.Product;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * 产品类型
 */
@Getter
@Setter
@ToString
@ApiModel(value = "产品类型", description = "操作产品类型接口")
public class ProductVO extends Product {

    /**
     * 产品id
     */
    @ApiModelProperty(value = "产品id", example = "0", required = true)
    private Long id;

    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id", example = "0", required = true)
    private Long tenantId;
    /**
     * 商城商品详情id
     */
    private Integer pid;

    /**
     * 设备Imei
     */
    private String  imei;
    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称", example = "智慧大脑", required = true)
    private String productName;

    /**
     * 产品序列号
     */
    @ApiModelProperty(value = "产品序列号", example = "12313456", required = true)
    private String productSerial;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "0", required = true)
    private String remark;

    /**
     * 排序
     */
    private Long sort;

    /**
     * 友盟推送认证token
     */
    @ApiModelProperty(value = "友盟推送认证token", example = "pushToken")
    private String pushToken;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 修改人
     */
    private String updatedBy;
    /**
     * 当前页
     */
    @ApiModelProperty(value = "当前页", example = "0", required = true)
    private Integer pageNum = 1;

    /**
     * 每页显示的记录数
     */
    @ApiModelProperty(value = "每页显示的记录数", example = "10", required = true)
    private Integer pageSize = 10;

    // 在线离线状态
    private Integer state;

    // 人员名称
    private String name;

    private List<Long> ids;

    /**
     * 0-非NB 1-NB
     * 默认0
     */
    private Integer proType;
}
